package org.gas.barapraja.handler;

import org.gas.barapraja.handler.validator.RequestValidator;
import org.gas.barapraja.handler.validator.RequestValidatorImpl;
import org.gas.barapraja.proc.PduProcessor;

import com.logica.smpp.pdu.BindRequest;
import com.logica.smpp.pdu.SubmitMultiSM;
import com.logica.smpp.pdu.SubmitSM;


public abstract class RequestHandlerAdapter implements RequestHandler {
	
	
	protected PduProcessor pduProcessor;
	
	protected RequestValidator validator;
	
	public RequestHandlerAdapter() {
		validator=new RequestValidatorImpl();
	}

	public int handleRequest(BindRequest request) {
		
		return 0;
	}

	public int handleRequest(SubmitSM submitSM) {
		return 0;
	}

	public int handleRequest(SubmitMultiSM multiSM) {
		return 0;
	}

	public PduProcessor getPduProcessor() {
		return pduProcessor;
	}

	public void setPduProcessor(PduProcessor pduProcessor) {
		this.pduProcessor = pduProcessor;
	}

	public RequestValidator getValidator() {
		return validator;
	}

	public void setValidator(RequestValidator validator) {
		this.validator = validator;
	}
	
	

	
}
